package gate

import (
	"server/game"
	"server/login"
	"server/msg"
	"server/msg/jsonData"
)

func init() {
	msg.Processor.SetRouter(&jsonData.MsgLoginReq{}, login.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgCreatePlayerReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgGetPlayerInfoReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgCreateTaskInfoReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgTaskListReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgCreateTranslateInfoReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUpdateTranslateLevelReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUpdateTaskStateReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgTranslateListReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgExpandTranslateReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgAddItemReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUseItemReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgBagListReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgTranslateProductReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgCreateCardReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUpdateCardLevelReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUpdateCardStarReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUpdateCardSkillReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgGetIncomeRankReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgGetAbilityRankReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgGetCharmRankReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgGetGuildRankReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUnLockSystem{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgSystemList{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgLevelInfo{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgIncreaseLevelProgress{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgBossBattle{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgGetBreakfastReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUnlockBreakfastToolsReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUnlockBreakfastBreakfastReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUnlocksCareerReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgCardListReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUnlockCardToolReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgPushCardToolReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgProduceBreakfastReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgFinishBreakfastReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUpPlayerLevelReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgEnterArenaReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgBuyBuyAddedChallengeReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgChallengeReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgArenaShopReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgBuyArenaShopReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgArenaPaiHangReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgDaoSaoReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgArenaChallengeReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgKaiYeReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgChanYeShouYiReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgNewVehicleReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgVehicleListReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgVehicleInfoReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUpVehicleUpLevelReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUnlockVehicleSkillReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgVehicleRandNumReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUpVehicleSkillLevelReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgNewUnionReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUpUnionUserLevelReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUpUnionLevelReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUnionInfoReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUnionListReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgBaiFangReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgJoinUnionReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgShouYiReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgNewArtistReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUpArtistSkillLevelReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgArtistListReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgArtistInfoReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUpArtistUpLevelReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUnlockArtistSkillReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgArtistRandNumReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgDestroyCariReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgBuyReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUnionBuildReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUnionBuildListReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUnionShopInfoReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUnionShopBuyReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgTranslateNpcRewardReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgActivityShopInfoReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgHouseListReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUnlockFurnitureReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUnLockHouseReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgAddFurnitureReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgNewHouseReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgQianDaoReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgActivityRewardReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgGiveBeautyReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgPublicizeBeautyReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgLevelZhaoGongReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgPeiXunGongReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUpArtistBeautyLvReq{}, game.ChanRPC)
	msg.Processor.SetRouter(&jsonData.MsgUpArtistBeautyYinXiaoIdReq{}, game.ChanRPC)
}
